Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODWindowState


GetRootWindowCount

The GetRootWindowCount method returns the number of root windows belonging to the specified draft.

ODUShort GetRootWindowCount (in ODDraft draft);
draft
A reference to the open draft object.
return value
The number of root windows belonging to the specified draft, expressed as an unsigned 16-bit value.
DISCUSSION
The document shell calls this method when closing a window to determine whether to close the draft; a draft is closed when its last root window is closed.

SEE ALSO
The ODWindowState::GetTotalRootWindowCount method (page 862).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help